
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/common_java.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@include file="../common/common_meta.jsp" %>  
    <meta name="keywords" content="投票,投票网,大众,民意,调查,">
	<%@include file="../common/common_css.jsp"%>
    <title>投票列表-大众投票</title>
</head>
<body>
   <jsp:include page="../common/common_header.jsp">
		<jsp:param name="active" value="vote_user"/>
	</jsp:include>
    <section class="container">
        <h3 class="mt-10">个人中心</h3>
        <div class="line"></div>
        <div class="responsive">
            <div class="row cl">
                <!-- left -->
                <div class="col-md-2">
	                <jsp:include page="sidebar.jsp">
						<jsp:param name="active" value="vote_list"/>
					</jsp:include>
                </div>
                <!-- right -->
                <div class="col-md-10">

                    <!--panel 1 start-->
                    <div class="panel shadow panel-default radius mt-20">
                        <div class="panel-body">
                            <h4>投票列表</h4>
                            <div class="line"></div>
                            <table class="table table-border table-bg table-bordered radius table-striped table-hover mt-20">
                                <thead>
                                <tr class="text-c">
                                    <th class="col1">序号</th>
                                    <th class="col2">标题</th>
                                </tr>
                                </thead>
                                <tbody>
	                                <c:forEach items="${page.content}" var="item" varStatus="status">
		                                <tr>
		                                    <th class="col1 text-c">${status.index+1}</th>
		                                    <c:choose>
			                                    <c:when test="${item.dead eq 0}">
			                                  	  <td class="col2 text-l"><a href="${ctx}/vote/show/${item.id}"  target="_blank" data-id="${item.id}" >${fn:escapeXml(item.title)}</a></td>
			                                    </c:when>
			                                    <c:otherwise>
			                                  	  <td class="col2 text-l c-999"><a href="${ctx}/article/dieInfo"  target="_blank" data-id="${item.id}" >【被作废】${fn:escapeXml(item.title)}</a></td>
			                                    </c:otherwise>
		                                    </c:choose>
		                                   
		                               
		                                </tr>
	                                </c:forEach>
                                </tbody>
                            </table>
                            <div class="mt-10 text-r" data-totalPages='${page.totalPages}'  style="right:20px" id="pageCont"></div>
                        </div>
                    </div>
                    <!--panel 1 end-->

                </div>
            </div>
        </div>
    </section>
<%@include file="../common/common_footer.jsp" %> 
<%@include file="../common/common_js.jsp" %>
<script type="text/javascript" src="${jsBase}/vote/list.js" ></script>
<script type="text/javascript" src="${jsBase}/common/formpage.js" ></script>
</body>

</html>